package lv.lu.events.model;

import lv.lu.events.interfaces.PersistentEntity;

public class Friendship implements PersistentEntity {

	/**
	 * Persistent fields
	 */
	
	private Long id;

	private User user1;

	private User user2;

	private FriendshipStatus status;	

	/**
	 * Getters and setters
	 */
	
	public Long getId() {
		return id;
	}

	public User getUser1() {
		return user1;
	}

	public void setUser1(User user1) {
		this.user1 = user1;
	}

	public User getUser2() {
		return user2;
	}
	
	public void setUser2(User user2) {
		this.user2 = user2;
	}

	public FriendshipStatus getStatus() {
		return status;
	}

	public void setStatus(FriendshipStatus status) {
		this.status = status;
	}		
}